﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HospitalAdd.aspx.cs" Inherits="Manage_HospitalAdd" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">
    <script language="vbscript" src="../Common/yz.vbs"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>

            <script language="vbscript" type="text/vbscript">
            Sub AreaSelect(byval id)
                Dim strReturnValue
	            strReturnValue = showModalDialog("../System/AreaSelect.aspx?ROOT=" & id,null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
	            If Len(strReturnValue) > 0 Then
	                document.all("AreaId").value = Split(strReturnValue,vbCrLf)(0)
	                document.all("AreaName").value = Split(strReturnValue,vbCrLf)(1)
	            End If
            End Sub
            </script>

            <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript">function Text1_onclick() {} </script>
<br>
           <table  id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                <tr>
                    <td class="table_td3">
                        用户名称</td>
                    <td class="table_td2">
                        <asp:TextBox ID="AccountName" runat="server" NotNull="用户名称" InvertedComma="用户名称"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                    <td class="table_td3">
                        登录密码</td>
                    <td class="table_td2">
                        <asp:TextBox ID="Pwd_Bid" runat="server" NotNull="登录密码" InvertedComma="登录密码"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        医院名称</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="HospitalName" NotNull="医院名称" InvertedComma="医院名称"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                    <td class="table_td3">
                        用户编码</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtUserCode" runat="server" NotNull="用户编码" InvertedComma="用户编码"></asp:TextBox><span
                            style="color: #ff6666">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        通讯地址</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Address" InvertedComma="通讯地址"></asp:TextBox></td>
                    <td class="table_td3">
                        邮政编码</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="PostCode" InvertedComma="邮政编码"></asp:TextBox></td>
                </tr>
               <tr>
                   <td class="table_td3">
                       床位数</td>
                   <td class="table_td2">
                       <asp:TextBox ID="txtbedNum" runat="server" NumericOnly="床位数"></asp:TextBox></td>
                   <td class="table_td3">
                       隶属</td>
                   <td class="table_td2">
                       <asp:TextBox ID="txtmemo1" runat="server" InvertedComma="隶属"></asp:TextBox></td>
               </tr>
                <tr>
                    <td class="table_td3">
                        联系电话</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Telephone" InvertedComma="联系电话"></asp:TextBox></td>
                    <td class="table_td3">
                        联系人</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtLinkMan" InvertedComma="联系人"></asp:TextBox></td>
                </tr>
               <tr>
                   <td class="table_td3">
                       法人代表</td>
                   <td class="table_td2">
                       <asp:TextBox ID="txtLawer" runat="server" InvertedComma="法人代表"></asp:TextBox></td>
                   <td class="table_td3">
                       传真</td>
                   <td class="table_td2">
                       <asp:TextBox ID="txtFax" runat="server" InvertedComma="传真"></asp:TextBox></td>
               </tr>
                <tr>
                    <td class="table_td3">
                        医院级别
                    </td>
                    <td class="table_td2">
                        <asp:RadioButtonList ID="distinction" runat="server" Width="383px" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">三甲</asp:ListItem>
                            <asp:ListItem Value="1">三乙</asp:ListItem>
                            <asp:ListItem Value="2">二甲</asp:ListItem>
                            <asp:ListItem Value="3">二乙</asp:ListItem>
                            
                            <asp:ListItem Value="4">一甲</asp:ListItem>
                            <asp:ListItem Value="5">一乙</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td class="table_td3">
                        E-mail</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtEmail" runat="server" InvertedComma="E-mail"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        是否负责老干部保健</td>
                    <td class="table_td2">
                        <asp:RadioButtonList ID="IsOldLeader" runat="server" Width="110px" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td class="table_td3">
                        所属地区：</td>
                    <td class="table_td2">
                        <input type="text" name="AreaName" id="Text1" language="javascript" onclick="return Text1_onclick()"  InvertedComma="所属地区" readonly />
                        <input type="text" name="AreaId" style="display: none" />
                        <a href="javascript:AreaSelect(530000)">选择地区</a></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        医院类型</td>
                    <td class="table_td2">
                        <asp:RadioButtonList ID="Sort" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">综合</asp:ListItem>
                            <asp:ListItem Value="1">专科</asp:ListItem>
                            <asp:ListItem Value="2">中医</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td class="table_td3">
                    </td>
                    <td class="table_td2"></td>
                </tr>
                <tr>
                    <td class="table_td3">
                    </td>
                    <td class="table_td3">
                        <asp:Button ID="btnAdd" CssClass="button_bg"  runat="server" Text="保  存" OnClick="btnAdd_Click"  OnClientClick="javascript:return CheckForm();"/></td>
                    <td class="table_td3">
                                            <input id="Button4" class="button_bg"  name="sdf" type="button" value="关  闭" onclick="window.close()" />
</td>
                    <td class="table_td3">
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
